<?php
declare(strict_types=1);

namespace Jxzsxsp\WechatRobot\File;

use Jxzsxsp\WechatRobot\Message;

class FileMessage extends Message
{
    const MSG_TYPE = 'file';
    public $media_id = '';

    protected function getMessage(): array
    {
        return [
            'msgtype' => self::MSG_TYPE,
            self::MSG_TYPE => [
                'media_id' => $this->media_id,
            ]
        ];
    }

}